package org.jeecg.modules.dlxj.service;

import org.jeecg.modules.dlxj.entity.DlxjPatrolStatistics;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: 巡检记录统计
 * @Author: lzl
 * @Date:   2022-07-29
 * @Version: V1.0
 */
public interface IDlxjPatrolStatisticsService extends IService<DlxjPatrolStatistics> {


    /**
     * 巡检统计列表
     * @return
     */
    public List<DlxjPatrolStatistics> patrolStatisticsList();

    /**
     * 巡检统计，通过任务id和杆塔id查询
     * @param taskId
     * @param poleId
     * @return
     */
    public List<DlxjPatrolStatistics> queryByTaskIdAndPoleId(String taskId,String poleId);

    /**
     * 导出全部数据
     * @param request
     * @param dlxjPatrolStatistics
     * @param clazz
     * @param title
     * @param taskId
     * @param poleId
     * @return
     */
    public ModelAndView exportExcel(HttpServletRequest request,DlxjPatrolStatistics dlxjPatrolStatistics, Class<DlxjPatrolStatistics> clazz, String title,String taskId,String poleId);

}
